package Anmail;

public class Cat extends Anmail1 {
    public String band;
    public Cat(){
        super("加菲猫",3);
    }//建立子类构造方法，运用super;
    public void play(){
        System.out.println(name+"正在玩气球");
        super.paly();//用super:在子类中调用父类的方法;
    }
}
